package mybatis34.entity;

import java.util.Date;

public class User {
    private int id;
    private String username;
    private Date birthday;
    private String address;
    private String sex;
    public User(){}
        public User(String username,Date birthday,String address,String sex){
        this.username = username;
        this.birthday = birthday;
        this.address = address;
        this.sex =sex;
        }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", birthday=" + birthday +
                ", address='" + address + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
    public  Date getBirthday(){return birthday;}
    public Void setBirthday(Date birthday){this.birthday = birthday;}
    public String getAddress(){return address;}
public int getId(){return id;}
public void setId(int id){this.id =id;}
public String getUsername(){return username;}
public void setUsername(String username){this.username =username;}
public Date getDate(){return birthday;}
public void setDate(Date date){this.birthday =date;}
public String getPassword(){return address;}
public void setPassword(String password){this.address = password;}
public String getSex(){return sex;}
public void setSex(String sex){this.sex = sex;}
public void setAddress(String 枣庄){
    }
}




